package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 船只报警信息。对象 boat_alarm_info
 *
 * @author zjw
 * @date 2023-09-25
 */
public class BoatAlarmInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 报警信息id
     */
    private Long alarmInfoId;

    /**
     * 所属景区id
     */
    @Excel(name = "所属景区id")
    private Long scenicId;

    private String scenicName;
    private String scenicShortName;

    /**
     * 船只身份识别码(出厂注册id)
     */
    @Excel(name = "船只身份识别码(出厂注册id)")
    private String boatIdentityId;

    /**
     * 所属船只id
     */
    @Excel(name = "所属船只id")
    private Long boatId;

    /**
     * 所属船只的编号
     */
    @Excel(name = "所属船只的编号")
    private String boatCode;

    /**
     * 报警类型。0：电子围栏，1：紧急急停，2：电机报警，3：电池电量报警，4：电池温度报警。
     */
    @Excel(name = "报警类型")
    private Integer type;

    /**
     * 报警级别。0：普通，1：警告，2：紧急。
     */
    @Excel(name = "报警级别。0：普通，1：警告，2：紧急。")
    private Integer level;

    /**
     * 报警文本内容。
     */
    @Excel(name = "报警文本内容。")
    private String content;

    /**
     * 所属船只上的游客用户id。
     */
    @Excel(name = "所属船只上的游客用户id。")
    private Long userId;

    /**
     * 报警船只上的游客联系电话。
     */
    @Excel(name = "报警船只上的游客联系电话。")
    private String phone;

    /**
     * 报警的处理状态。0：未处理，1：已消除。2，已处理
     */
    @Excel(name = "报警的处理状态。0：未处理，1：已处理。")
    private Integer status;

    public String getScenicName() {
        return scenicName;
    }

    public void setScenicName(String scenicName) {
        this.scenicName = scenicName;
    }

    public String getScenicShortName() {
        return scenicShortName;
    }

    public void setScenicShortName(String scenicShortName) {
        this.scenicShortName = scenicShortName;
    }

    public void setAlarmInfoId(Long alarmInfoId) {
        this.alarmInfoId = alarmInfoId;
    }

    public Long getAlarmInfoId() {
        return alarmInfoId;
    }

    public void setScenicId(Long scenicId) {
        this.scenicId = scenicId;
    }

    public Long getScenicId() {
        return scenicId;
    }

    public void setBoatIdentityId(String boatIdentityId) {
        this.boatIdentityId = boatIdentityId;
    }

    public String getBoatIdentityId() {
        return boatIdentityId;
    }

    public void setBoatId(Long boatId) {
        this.boatId = boatId;
    }

    public Long getBoatId() {
        return boatId;
    }

    public void setBoatCode(String boatCode) {
        this.boatCode = boatCode;
    }

    public String getBoatCode() {
        return boatCode;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevel() {
        return level;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("alarmInfoId", getAlarmInfoId())
                .append("scenicId", getScenicId())
                .append("boatIdentityId", getBoatIdentityId())
                .append("boatId", getBoatId())
                .append("boatCode", getBoatCode())
                .append("type", getType())
                .append("level", getLevel())
                .append("content", getContent())
                .append("userId", getUserId())
                .append("phone", getPhone())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
